<?php
    require '../tools.func.php';
    require '../db.func.php';
    $id=$_GET['id'];
    $prefix=getprefix();
    $sql="DELETE FROM {$prefix}product WHERE id='{$id}'";
    execute($sql);
    header('location:products.php');

